/**
 * Created by fdg348 on 2017/11/7.
 */
var about = new Swiper('#about', {
    spaceBetween: 10,
    direction: 'horizontal',
    nextButton: '.company-next',
    prevButton: '.company-prev'
});

/*mod by FDG416 ID527 【pc商城优化】修改滚动条 2018/02/26 start*/
$(function(){
    //调用插件
    $('.scroll_c').niceScroll({
        cursorcolor: "#000",//滚动条的颜色
        cursoropacitymax: 1, //滚动条的透明度，从0-1
        touchbehavior: false, //使光标拖动滚动像在台式电脑触摸设备
        cursorwidth: "1px", //滚动条的宽度
        cursorborder: "0", // 游标边框css定义
        cursorborderradius: "5px",//以像素为光标边界半径  圆角
        autohidemode: false, //是否隐藏滚动条  true的时候默认不显示滚动条，当鼠标经过的时候显示滚动条
        zindex: "auto",//给滚动条设置z-index值
        railpadding: { top: 0, right: 0, left: 0, bottom: 0}//滚动条的位置
    });
    //隐藏横向滚动条（主要是IE）
    $('.nicescroll-rails-hr > .nicescroll-cursors').css('display','none');
})
/*mod by FDG416 ID527 【pc商城优化】修改滚动条 2018/02/26 end*/